<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta content="black" name="apple-mobile-web-app-status-bar-style">
	<meta name="format-detection" content="telephone=no">
	<meta content="telephone=no" name="format-detection">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<link rel="stylesheet" media="screen and (max-width:900px)" href="/assets/stylesheets/style_wap.css"
		  type="text/css" />
	<link rel="stylesheet" media="screen and (min-width:900px)" href="/assets/stylesheets/style_pc.css"
		  type="text/css" />
	<title>老杜生物科技</title>
</head>
<body>
<div class="topline" id="J_topline" data-test="1">
	<nav th:replace="hjh/include::menuV"></nav>
</div>
<div class="clearfix content index">
	<div class="idl">
		<div class="iinfo">
			<div class="idlt alic">
				<img src="/assets/images/default.png" class="idlti">
				<div class="idltf">
					<p class="idln" th:text="${me.username}"></p>
					<a href="/upgrade" th:if="${me.agentLevel == null || me.agentLevel == 0}" style="color:
						#4C84FF;">升级为代理</a>
					<p class="idln" th:if="${me.agentLevel} == 1">代理</p>
					<p class="idln" th:if="${me.agentLevel} == 2">初级合伙人</p>
					<p class="idln" th:if="${me.agentLevel} == 3">中级合伙人</p>
					<p class="idln" th:if="${me.agentLevel} == 4">高级合伙人</p>
					<p class="idln" th:if="${me.agentLevel} == 5">联合创始人</p>
					<p class="idllev" th:if="${me.memberLevel}==1"><img src="/assets/images/icon_putong.png" class="idllevi">普通会员</p>
					<p class="idllev" th:if="${me.memberLevel}==2"><img src="/assets/images/icon_jinka.png" class="idllevi">金卡会员</p>
					<p class="idllev" th:if="${me.memberLevel}==3"><img src="/assets/images/icon_vip.png" class="idllevi">VIP会员</p>
					<p class="idllev" th:if="${me.memberLevel}==5"><img src="/assets/images/icon_xinyue.jpg"
																		style="width: 38px; height: 38px;"
																		class="idllevi">心悦会员</p>
				</div>
			</div>
			<div class="idlb clearfix">
				<div class="idlbls">
					<img src="/assets/images/icon_p01.png" class="idlblsi">
					<p class="idlblst">真实姓名</p>
					<p class="idlblsv" th:text="${me.name}">张少华</p>
				</div>
				<div class="idlbls">
					<img src="/assets/images/icon_p02.png" class="idlblsi">
					<p class="idlblst">手机号</p>
					<p class="idlblsv" th:text="${me.mobile}">15821670480</p>
				</div>
				<div class="idlbls">
					<img src="/assets/images/icon_p03.png" class="idlblsi">
					<p class="idlblst">会员状态</p>
					<p class="idlblsv" th:if="${me.activeTime}!=null">已激活</p>
					<p class="idlblsv" th:if="${me.activeTime}==null">未激活</p>
				</div>
				<div class="idlbls">
					<img src="/assets/images/icon_p04.png" class="idlblsi">
					<p class="idlblst">激活日期</p>
					<p class="idlblsv" th:text="${me.activeTime}!=null?${#dates.format(me.activeTime, 'yyyy-MM-dd')}:''">2017-05-03</p>
				</div>
			</div>
		</div>
		<div class="igg">
			<span class="iggt">通知提醒 <a style="float: right; color: #4C84FF"href="/oa/notify/toMyNotify">更多</a></span>
			<a class="iggls" th:each="content:${contentList}" href="javascript:;">
					<p class="iggte" th:style="${content.isRead=='1'?'color:#CFCFCF;':'font-weight:bold'}"
			th:text="${content.content}">国庆节促销活动即将开始了，请各部门注意配合好活动的进行。具体规则请看详情了解更具体规则请看详情了解更
			</p>
			<p class="iggtm"
			   th:text="${content.createDate}!=null?${#dates.format(content.createDate, 'yyyy-MM-dd HH:mm:ss')}:''">2018-02-02</p>
			</a>
		</div>
	</div>
	<div class="idr clearfix">
		<div class="idrls idrlsa">
			<img src="/assets/images/icon_v01.png" class="idrlsi">
			<p class="idrlst">现金积分(元)</p>
			<p class="idrlsv" th:text="${ #numbers.formatDecimal(cashPointsTotal * 0.01, 1, 2) }">20000.00</p>
			<a href="/cash_withdraw" class="btn btn_sm btn_idr">提现</a>
		</div>
		<div class="idrls">
			<img src="assets/images/icon_v02.png" class="idrlsi">
			<p class="idrlst">商品积分(元)</p>
			<p class="idrlsv" th:text="${ #numbers.formatDecimal(productPointsTotal * 0.01, 1, 2)}">2,000.00</p>
		</div>
		<div class="idrls">
			<img src="/assets/images/icon_v03.png" class="idrlsi">
			<p class="idrlst">当前绩点</p>
			<p class="idrlsv" th:text="${me.points}">22</p>
		</div>
		<div class="idrls">
			<img src="/assets/images/icon_v04.png" class="idrlsi">
			<p class="idrlst">上级代理</p>
			<p class="idrlsv" th:text="${superior}">32</p>
		</div>
	</div>
</div>

<nav th:replace="hjh/include::bottomV"></nav>
<script language="javascript" type="text/javascript" src="/assets/javascript/jquery-2.1.4.min.js"></script>
<script language="javascript" type="text/javascript" src="/assets/javascript/func.js"></script>
<script type="text/javascript">
    $(function(){
    });
</script>
</body>
</html>
